package com.song.dubbo.server.service;

import com.song.dubboapi.service.TestService;
import org.apache.dubbo.config.annotation.DubboService;

@DubboService(group = "cus")
public class ServerService implements TestService {
    @Override
    public String sayHello(String name) {
        return "hello " + name + "this is serve...";
    }

    @Override
    public String test() {
        return null;
    }

    @Override
    public String getServerinfo(String client) {
        return "This serve info " + System.getProperty("server.name");
    }
}
